<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> 
    <a href="#" class="current">Danh sách thể loại</a> </div>
  </div>
  {$notice}
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
      <form action="lang_delete_all.php" method="post">
        <div class="widget-box">
          <div class="widget-title">
           <div class="buttons" style="position:absolute;right:175px">
	       <a title="Icon Title" class="btn btn-mini" href="lang_add.php"><i class="icon-shopping-cart"></i>Thêm Danh Sách</a>							
        </div>
            <span class="icon" ><i class="icon-trash" style="width:20px;"></i><input class="btn btn-mini" type="submit" value="Xóa" style="border-radius:50px;"/></span>  
            <h5>Thể loại [Danh sách]</h5>
          </div>
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                <th style="width:40px;"><input type="checkbox" /></th>
                  <th>Mã</th>
                  <th>Ngôn ngữ</th>
                  <th>Nội dung</th>
                  <th>Hình ảnh</th>
                  <th>Trạng thái</th>
                  <th>Thao Tác</th>
                </tr>
              </thead>
              <tbody>
                {foreach $list_lang as $k=>$lang}
                {if $k==0}<tr class="gradeX" style="background:#A9B9CB">{/if} 
                <td style="text-align:center"> 
                    <input type="checkbox" name="data[{$lang.lang_id}]" value="{$lang.lang_id}"/>
                </td>
           	    <td>{$lang.lang_id}</td>
                <td>{$lang.title}</td>
                <td>{$lang.description}</td>
                <td><img src="/upload/languages/{$lang.lang_code}.gif" title="{$lang.title}"/></td>
                <td ><a href="lang_update_status.php?id={$lang.lang_id}"><i class="icon-eye-{if $lang.status == 1}open{else}close{/if}"></i></a></td>
                <td class="center">
                    <a href="lang_delete.php?id={$lang.lang_id}"><i class="icon icon-remove"></i></a>
                </td>
                </tr>
                {/foreach}
              </tbody>
            </table>
          </div>
          </form>
        </div>
        
        
        
        
      </div>
    </div>
  </div>
